package com.sync.utils.agent.consumer;

import com.sync.utils.agent.pojo.ServerReq;
import com.sync.utils.agent.pojo.ServerRes;

import java.util.concurrent.TimeoutException;

/**
 * TODO
 *
 * @Author YWF
 * @Date 2025/5/10 22:45
 */
public interface AgentClient {

    <T extends ServerRes> T excute(ServerReq<T> request) throws TimeoutException;

}
